public class 队列测试 {
    public static void main(String[] args) throws Exception{
        SqQueue<String> stringSqQueue = new SqQueue<>(10);
        stringSqQueue.offer("a");
        stringSqQueue.offer("b");
        stringSqQueue.offer("d");
        stringSqQueue.offer("g");
        System.out.println(stringSqQueue.length());
        System.out.println();
        stringSqQueue.display();
        String s1;
        s1=stringSqQueue.poll();
        System.out.println(s1);
        System.out.println(stringSqQueue.length());
        System.out.println();
        stringSqQueue.display();

    }
}
